<template>
    <ul class="todo-main">
       <RowLi 
        v-for="todoObbj of todos" 
        :key="todoObbj.id"  
        :todo="todoObbj" 
        :checkTod="checkTod"
        :removeBtn="removeBtn"/>
    </ul>
</template>

<script>

import RowLi from "./RowLi.vue"

export default {
  name: "DisplayList",
  data() {
    return {
    };
  },
  mounted() {},
  methods: {

  },
  components:{RowLi},
  props:["todos","checkTod","removeBtn"]
};
</script>

<style lang="css" scoped>
/*main*/
.todo-main {
  margin-left: 0px;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0px;
}

.todo-empty {
  height: 40px;
  line-height: 40px;
  border: 1px solid #ddd;
  border-radius: 2px;
  padding-left: 5px;
  margin-top: 10px;
}
</style>